<%@ page contentType="text/html;charset=UTF-8" %>

<html>
<head>
  <meta name="layout" content="template">
</head>
<body>

<div class="section">
  <h1>View Hotel</h1>
</div>

<div class="section">
  <div class="entry">
    <div class="label">Name:</div>
    <div class="output">${hotel.name}</div>
  </div>
  <div class="entry">
    <div class="label">Address:</div>
    <div class="output">${hotel.address}</div>
  </div>
  <div class="entry">
    <div class="label">City:</div>
    <div class="output">${hotel.city}</div>
  </div>
  <div class="entry">
    <div class="label">State:</div>
    <div class="output">${hotel.state}</div>
  </div>
  <div class="entry">
    <div class="label">Zip:</div>
    <div class="output">${hotel.zip}</div>
  </div>
  <div class="entry">
    <div class="label">Country:</div>
    <div class="output">${hotel.country}</div>
  </div>
  <div class="entry">
    <div class="label">Nightly rate:</div>
    <div class="output">$${hotel.price}</div>
  </div>
</div>

<div class="section">
  <g:form action="bookingHotel">
    <fieldset class="buttonBox">
      <g:submitButton name="bookHotel" value="Book Hotel"/>
      &#160;
      <g:submitButton name="backToSearch" value="Back to Search"/>
    </fieldset>
  </g:form>
</div>
</body>
</html>